Keysight VISA.NET Help
IOTimeoutException Constructor(Int64,Byte[],String,Exception)



The actual number of elements read or written before the timeout occurred. A value of -1 indicates that the actual number could not be determined.
The actual bytes read or written before the timeout occurred. If the actual number of elements read could not be determined, the array is empty.
The message that describes the error.
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Initializes a new instance of the IOTimeoutException class with the specified value for the actual number of elements read or written, the specified message, and a reference to the inner exception that is the cause of this exception.
Syntax
'Declaration
 
Public Function New( _
   ByVal actualCount As Long, _
   ByVal actualData() As Byte, _
   ByVal message As String, _
   ByVal innerException As Exception _
)
'Usage
 
Dim actualCount As Long
Dim actualData() As Byte
Dim message As String
Dim innerException As Exception
 
Dim instance As New IOTimeoutException(actualCount, actualData, message, innerException)

Parameters

actualCount
The actual number of elements read or written before the timeout occurred. A value of -1 indicates that the actual number could not be determined.
actualData
The actual bytes read or written before the timeout occurred. If the actual number of elements read could not be determined, the array is empty.
message
The message that describes the error.
innerException
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025